home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / objects / r3cutpyr.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  2.7 KB  |  115 lines

  1.  
  2. // JavaScript wrapper for r3cutpyr.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_CUTPYR_H = 1;
  7. include("oops/r3vector.js")
  8. include("real/objects/r3prim.js")
  9.  
  10.  
  11. var R3CLID_CUTPYRAMID = 156;
  12.  
  13.  
  14.  
  15.  
  16. R3CUTPA_P0 = 156501;
  17. function SetR3CUTPA_P0(value) {
  18.   R3Set(this.r3obj, R3CUTPA_P0, value, R3TID_VECTOR, 0); 
  19. }
  20.  
  21. function GetR3CUTPA_P0() {
  22.   return R3Get(this.r3obj, R3CUTPA_P0, R3TID_VECTOR, 0); 
  23. }
  24.  
  25. R3CUTPA_P1 = 156502;
  26. function SetR3CUTPA_P1(value) {
  27.   R3Set(this.r3obj, R3CUTPA_P1, value, R3TID_VECTOR, 0); 
  28. }
  29.  
  30. function GetR3CUTPA_P1() {
  31.   return R3Get(this.r3obj, R3CUTPA_P1, R3TID_VECTOR, 0); 
  32. }
  33.  
  34. R3CUTPA_P2 = 156503;
  35. function SetR3CUTPA_P2(value) {
  36.   R3Set(this.r3obj, R3CUTPA_P2, value, R3TID_VECTOR, 0); 
  37. }
  38.  
  39. function GetR3CUTPA_P2() {
  40.   return R3Get(this.r3obj, R3CUTPA_P2, R3TID_VECTOR, 0); 
  41. }
  42.  
  43. R3CUTPA_P3 = 156504;
  44. function SetR3CUTPA_P3(value) {
  45.   R3Set(this.r3obj, R3CUTPA_P3, value, R3TID_VECTOR, 0); 
  46. }
  47.  
  48. function GetR3CUTPA_P3() {
  49.   return R3Get(this.r3obj, R3CUTPA_P3, R3TID_VECTOR, 0); 
  50. }
  51.  
  52. R3CUTPA_P4 = 156505;
  53. function SetR3CUTPA_P4(value) {
  54.   R3Set(this.r3obj, R3CUTPA_P4, value, R3TID_VECTOR, 0); 
  55. }
  56.  
  57. function GetR3CUTPA_P4() {
  58.   return R3Get(this.r3obj, R3CUTPA_P4, R3TID_VECTOR, 0); 
  59. }
  60.  
  61. R3CUTPA_P5 = 156506;
  62. function SetR3CUTPA_P5(value) {
  63.   R3Set(this.r3obj, R3CUTPA_P5, value, R3TID_VECTOR, 0); 
  64. }
  65.  
  66. function GetR3CUTPA_P5() {
  67.   return R3Get(this.r3obj, R3CUTPA_P5, R3TID_VECTOR, 0); 
  68. }
  69.  
  70. R3CUTPA_Uncovered1 = 156507;
  71. function SetR3CUTPA_Uncovered1(value) {
  72.   R3Set(this.r3obj, R3CUTPA_Uncovered1, value, R3TID_INTEGER, 0); 
  73. }
  74.  
  75. function GetR3CUTPA_Uncovered1() {
  76.   return R3Get(this.r3obj, R3CUTPA_Uncovered1, R3TID_INTEGER, 0); 
  77. }
  78.  
  79. R3CUTPA_Uncovered2 = 156508;
  80. function SetR3CUTPA_Uncovered2(value) {
  81.   R3Set(this.r3obj, R3CUTPA_Uncovered2, value, R3TID_INTEGER, 0); 
  82. }
  83.  
  84. function GetR3CUTPA_Uncovered2() {
  85.   return R3Get(this.r3obj, R3CUTPA_Uncovered2, R3TID_INTEGER, 0); 
  86. }
  87.  
  88.  
  89.  
  90. function r3Cutpyramid () { 
  91.    this.base = r3God;
  92.    if(arguments.length) {
  93.       this.base(R3CLID_CUTPYRAMID, arguments);
  94.    }
  95.    // Attributes
  96.    this.GetP0=GetR3CUTPA_P0;
  97.    this.SetP0=SetR3CUTPA_P0;
  98.    this.GetP1=GetR3CUTPA_P1;
  99.    this.SetP1=SetR3CUTPA_P1;
  100.    this.GetP2=GetR3CUTPA_P2;
  101.    this.SetP2=SetR3CUTPA_P2;
  102.    this.GetP3=GetR3CUTPA_P3;
  103.    this.SetP3=SetR3CUTPA_P3;
  104.    this.GetP4=GetR3CUTPA_P4;
  105.    this.SetP4=SetR3CUTPA_P4;
  106.    this.GetP5=GetR3CUTPA_P5;
  107.    this.SetP5=SetR3CUTPA_P5;
  108.    this.GetUncovered1=GetR3CUTPA_Uncovered1;
  109.    this.SetUncovered1=SetR3CUTPA_Uncovered1;
  110.    this.GetUncovered2=GetR3CUTPA_Uncovered2;
  111.    this.SetUncovered2=SetR3CUTPA_Uncovered2;
  112. }
  113.  
  114. r3Cutpyramid.prototype=new r3Primitive;
  115. // r3cutpyr.h_H